#include "BSMaxFreq.h"

BSMaxFreq::BSMaxFreq()
{
	m_name = "Maximum Frequency";
}

BSMaxFreq::~BSMaxFreq()
{

}

void BSMaxFreq::Update()
{	
	if (m_mouseDidIntersect && m_mouseButtonWasReleased)
	{
		m_sound->SetMaxFreq(m_amount);

		m_mouseButtonWasReleased = false;
		m_mouseDidIntersect = false;
	}
}